#define  _CRT_SECURE_NO_WARNINGS
#include "ST.h"

void test() {
	ST st;
	STInit(&st);

	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);
	printf("%d\n", STTop(&st));
	printf("%d\n", STSize(&st));

	STPop(&st);
	STPop(&st);
	STSize(&st);
	printf("%d\n", STTop(&st));
	printf("%d\n", STSize(&st));
	STPop(&st);
	STPop(&st);
	STPop(&st);
	
	STDestroy(&st);

}



int main() {
	test();
	return 0;
}